import { post, get } from "../utils/request";

export const submitorder = (products) => post("/api/v1/orders", { products });
export const loadorder = () => get("/api/v1/orders");
export const orderdetail = (id) => get("/api/v1/orders/" + id);
